package com.pick.base.exception;

/**
 * 权限拒绝异常
 */
public class PermissionDeniedException extends BusinessException {

    public PermissionDeniedException() {
        super("权限不足");
    }

    public PermissionDeniedException(String message) {
        super(message);
    }

    public PermissionDeniedException(String permission, String operation) {
        super(String.format("权限不足，缺少权限: %s，操作: %s", permission, operation));
    }
}